home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9897 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: create window failed
  5. Date: 4 Mar 1996 20:31:18 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4hfjum$quk@news1.usa.pipeline.com>
  8. References: <313B3FF1.173F@pcmail.uni-trier.de>
  9. NNTP-Posting-Host: pipe12.h1.usa.pipeline.com
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete)
  13. X-Newsreader: Pipeline v3.5.0
  14.  
  15. On Mar 04, 1996 11:09:37 in article <create window failed>,
  16. 'bakpeter@pcmail.uni-trier.de' wrote: 
  17.  
  18.  
  19. >i just started programming in turbo c++ 4.5 for windows with owl 2.5. 
  20. >until now i'm not able to run my application (.exe) without any borland 
  21. >app in background. if i try to start my app standalone, there is always 
  22. >the error message "Object Windows exception: create window failed". but, 
  23. >if turbo is running, the exe-file does run too. 
  24. >what does it mean and how can i manage this problem? 
  25. >thanks for answer, 
  26. >pb. 
  27.  
  28. Here's an excerpt from the FAQ.  If you'd like the entire FAQ --
  29. recommended 
  30. reading -- you can ftp it from rtfm.mit.edu. 
  31.  
  32. ============================================================================== 
  33.  
  34. Q140: Why does my BC++ Windows app crash when I'm not running the BC45 IDE?
  35.  
  36.  
  37. If you're using BC++ for a Windows app, and it works ok as long as you have
  38. the 
  39. BC45 IDE running, but when the BC45 IDE is shut down you get an exception 
  40. during the creation of a window, then add the following line of code to the
  41.  
  42. InitMainWindow() method of your application ("YourApp::InitMainWindow()"): 
  43.  
  44.     EnableBWCC(TRUE); 
  45.  
  46. ============================================================================== 
  47.  
  48.  
  49. -- 
  50. Pete Grant 
  51. Kalevi, Inc. 
  52. Software Engineering & development
  53.